<?php 
include("includes/code.php");

/* bosh sahifa sarlavhasi va matni */
$result = mysql_query("SELECT title,text FROM pages WHERE page='index'");
if (!$result)
{ myerror("XATOLIK ! Bazadagi Pages jadvalidan malumotlar olinmadi"); }
$myrow = mysql_fetch_array($result);

$title = stripslashes($myrow["title"]);
$text = stripslashes($myrow["text"]);

///// headerni olamiz
include("includes/header.php"); 
?>

<!-- content and sidebar -->
<div id="main">
<table class="main_table" cellspacing="0" cellpadding="0">
  <tr valign="top">
    <td class="left_col">
<!-- ------------- left start ------------- -->
<?php include("includes/left.php"); ?>
    
<!-- ----------------- left finish ---------------- -->
    </td>
    <td>
<div class="content">
<!-- content start -->

<h4 class="sarlavha"><?php echo $title; ?></h4>
<p> <?php echo $text ?> </p>

<h4 class="sarlavha"><?=$lang['new']; ?></h4>

<!--tovarlar -->
<?php 
tovarlar("index");
?>
<div style="clear:both"></div>
<p><a href="all.php"> <?=$lang['all']; ?> &gt;  </a></p>
<!--tovarlar // -->

<!-- content finish -->
</div>
    </td>
    <td class="right_col">
<!-- -------- right start ----------- -->
<?php include("includes/right.php"); ?>
<!-- --------- right finish ------- -->
    </td>
  </tr>
</table>

</div>
<!-- content and sidebar finish -->

</div>
<!-- main container finish -->
<?php include("includes/footer.php"); ?>